home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C!T ROM 3
/
ct-rom iiib.zip
/
ct-rom iiib
/
WINDOWS
/
GRAFISCH
/
FRACXTR5
/
TEMP.C
< prev
next >
Wrap
C/C++ Source or Header
|
1992-06-19
|
168b
|
10 lines
#include <stdio.h>
void main()
{
int n;
float a=-2.19, b=0.95;
printf("\n\n");
for (n=0; n<=5; ++n) printf("%G\n", ((5-n)/5.0)*a + (n/5.0)*b);
}